/*
 * @Author: Penk
 * @LastEditors: Penk
 * @LastEditTime: 2022-12-30 14:36:40
 * @FilePath: \penk-ui\docs\.vitepress\config.js
 * @email: 492934056@qq.com
 */
module.exports = {
  // 网站title
  title: "penk-ui",
  base:"/penk-ui-official/",
  // mete description...
  description: "基于elementPlus二次封装的组件库penk-ui文档",
  // 配置markdown
  markdown: {
    lineNumbers: true,
  },
  themeConfig: {
    // 头部标题
    siteTitle: "Welcome Penk-Ui",
    // 头部logo
    logo: "/favicon.ico",
    // 顶部导航
    nav: [
      { text: "Guide", link: "/guide/getting-started/what-is-penkUi", activeMatch: "/guide/" },
      { text: "团队", link: "/team/index", activeMatch: "/team/" },
      {
        text: "链接",
        items: [
          { text: "npm", link: "https://www.npmjs.com/package/penk-ui" },
          { text: "gitee", link: "https://gitee.com/penk666/penk-ui" },
          { text: "CSDN", link: "https://blog.csdn.net/cs492934056/category_12144231.html" },
        ],
      },
    ],
    // 侧边栏
    sidebar: [
      {
        text: "开始",
        items: [
          { text: "什么是Penk-Ui", link: "/guide/getting-started/what-is-penkUi" },
          { text: "怎么使用", link: "/guide/getting-started/how-to-use" },
        ],
      },
      {
        text: "组件",
        items: [
          { text: "前言", link: "/guide/intro/index.html" },
          { text: "头部搜索栏", link: "/guide/intro/penk-search" },
          { text: "表格栏", link: "/guide/intro/penk-table" },
          { text: "分页栏", link: "/guide/intro/penk-footer" },
          { text: "Form表单栏", link: "/guide/intro/penk-form" },
        ],
      },
      {
        text: "源码解析",
        items: [
          { text: "前言", link: "/guide/analysis/index.html" },
          { text: "头部搜索栏", link: "/guide/analysis/penk-search" },
          { text: "表格栏", link: "/guide/analysis/penk-table" },
          { text: "分页栏", link: "/guide/analysis/penk-footer" },
          { text: "Form表单栏", link: "/guide/analysis/penk-form" },
        ],
      },
    ],
    // 页脚
    footer: {
      message: "Released under the MIT License.",
      copyright: "Copyright © 2022-present Penk",
    },
  },
};
